package cn.wolfcode.shop.cloud.feign;

import cn.wolfcode.shop.cloud.common.Result;
import cn.wolfcode.shop.cloud.feign.hystrix.MemberFeignHystrix;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "member-server",fallback = MemberFeignHystrix.class)
public interface MemberFeignApi {
    @RequestMapping("/refreshToken")
    Result<Boolean> refreshToken(@RequestParam("token") String token);
}
